%h1 New Lawn
=error_messages_for :lawn
-form_for(@lawn) do |f|
  %p.label
    Name
    %br
    =f.text_field :name
  %p.label
    Greenness
    %br
    =f.text_field :greenness
  %p.label
    Grass Type
    %br
    =collection_select(:lawn, :grass_type_id , @grass_types, :id, :name, { :include_blank => "-Select-" })
  %p.command
    =f.submit "Create"
=link_to 'Back', lawns_path
